package cn.zxy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication

//开启aop的操作
@EnableAspectJAutoProxy

//MapperScan 主要是为了查找地址 下面两种方式意义相同 任选一种
//@MapperScan("cn.zxy.mapper")
@MapperScan(basePackages = "cn.zxy.mapper")

public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }

}
